<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="webapp/pdfhtml/jquery-3.2.1.js"></script>
    <script type="text/javascript" src="webapp/pdfhtml/ajaxfileupload.js"></script>
    <script charset="UTF-8" type="text/javascript" src="webapp/pdfhtml/demo.js"></script>
    <style>
        #dataTable tbody tr td {
            border: 1px solid black;
            white-space: nowrap;
            width: auto;
        }
    </style>
</head>
<body>
<div>
    <input id="file" type="file" name="file" value="打开PDF文件">
    <input id="getData" type="button" value="生成表格数据" onclick="getData()">
</div>
<div>
    <iframe id="text_iframe" src="" name="text_iframe" style="width: 800px;height: 500px;float: left"></iframe>
</div>
<div style="width: 800px;height: 500px;">
    <table id="dataTable" border="0" cellspacing="0"
           style="height: auto;border-collapse: collapse;width: 100%;">
        <tbody></tbody>
    </table>
</div>
</body>
=======
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="webapp/pdfhtml/jquery-3.2.1.js"></script>
    <script type="text/javascript" src="webapp/pdfhtml/ajaxfileupload.js"></script>
    <script charset="UTF-8" type="text/javascript" src="webapp/pdfhtml/demo.js"></script>
    <style>
        #dataTable tbody tr td {
            border: 1px solid black;
            white-space: nowrap;
            width: auto;
        }
    </style>
</head>
<body>
<div>
    <input id="file" type="file" name="file" value="打开PDF文件">
    <input id="getData" type="button" value="生成表格数据" onclick="getData()">
</div>
<div>
    <iframe id="text_iframe" src="" name="text_iframe" style="width: 800px;height: 500px;float: left"></iframe>
</div>
<div style="width: 800px;height: 500px;">
    <table id="dataTable" border="0" cellspacing="0"
           style="height: auto;border-collapse: collapse;width: 100%;">
        <tbody></tbody>
    </table>
</div>
</body>
>>>>>>> 76b6f31bbcbec31ccfa63ebf7ff5aeaf5445e070
</html>